package com.yunshang.shoppingmall.service.User;

import com.yunshang.shoppingmall.entity.UserRank;

import java.util.List;

public interface UserRankService {

    //查询所有的会员等级信息
    List<UserRank> selectUserRankList();

    //根据ID查询等级信息
    UserRank selectByPrimaryKey(Integer rankId);

    //添加等级信息
    int insert(UserRank record);

    //更新会员等级
    int updateByPrimaryKeySelective(UserRank record);

    //删除等级数据
    int deleteByPrimaryKey(Integer rankId);
}
